package com.ht.mt.sric.utiles;

import java.io.Serializable;

import javax.faces.context.FacesContext;

import oracle.adf.view.rich.context.AdfFacesContext;

public class FacesUtil implements Serializable {
    @SuppressWarnings("compatibility:1885865963689899319")
    private static final long serialVersionUID = 1L;

    public static FacesContext getJsfContext() {

           return FacesContext.getCurrentInstance();
       }

       public static AdfFacesContext getAdfFacesContext() {
           return AdfFacesContext.getCurrentInstance();
       }
}
